package com.gfm.story.dao;



import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.gfm.story.entity.dict.DictionaryDetail;

import java.util.List;
import java.util.Map;

/**
 * @author colin
 * @Date 2019/3/7 0007 下午 4:34
 **/
public interface DictionaryDetailDao extends BaseMapper<DictionaryDetail> {

    /**
     * 获取所有子集数据字典列表
     *
     * @param map
     * @return
     */
    public List<Map> selectSysDictionaryDetailList(Map<String, Object> map);

    /**
     *
     * @param map1
     * @return
     */
    public List<Map> selectSysDictionaryDetailByDictCode(Map<String, Object> map1);

    DictionaryDetail selectDetail(DictionaryDetail param);

    List<DictionaryDetail> selectDictByCode(DictionaryDetail dictionaryDetail);
}
